package com.community.itelligentcommunity.sys.dao;


import com.community.itelligentcommunity.common.base.dao.GenericDao;
import com.community.itelligentcommunity.sys.entity.QueryRoleRelationTree;
import com.community.itelligentcommunity.sys.entity.RoleRelationTree;
import com.community.itelligentcommunity.sys.entity.UserRole;

public interface RoleRelationTreeDao extends GenericDao<RoleRelationTree, QueryRoleRelationTree> {

    /**
     * 功能描述：根据角色ID来删除关联的菜单数据
     * @param entity
     * @return
     */
    int removeTreeByRoleId(UserRole entity);
}
